//
//  HotTableViewCell.m
//  FreeReading
//
//  Created by lanou3g on 15/11/3.
//  Copyright © 2015年 lanou3g. All rights reserved.
//

#import "HotTableViewCell.h"
#import "UIImageView+WebCache.h"
#import "HotModel.h"
@implementation HotTableViewCell


- (void)setModel:(HotModel *)model
{
    [self.titleImageView sd_setImageWithURL:[NSURL URLWithString:model.picUrl] placeholderImage:nil];
    self.timeLabel.text = model.hottime;
    self.sourceLabel.text = model.descriptions;
    self.hotLabel.text = model.title;
    self.contentView.layer.masksToBounds = YES;
    self.contentView.layer.cornerRadius = 8;
    self.backImageView.layer.masksToBounds = YES;
    self.backImageView.layer.cornerRadius = 4;
    self.hotLabel.numberOfLines = 0;
    self.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
}


- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
